// JavaScript Document
var xmlhttp;
function GetXmlHttpObject()
{
	if (window.XMLHttpRequest)
	{
		// code for IE7+, Firefox, Chrome, Opera, Safari
		return new XMLHttpRequest();
	}
	if (window.ActiveXObject)
	{
		// code for IE6, IE5
		return new ActiveXObject("Microsoft.XMLHTTP");
	}
	return null;
} 

/*--------------------Phat-------------------*/
//--------------list ebook bộ sưu tập ----------------//
function limitphantrang_ctbosuutap()
{
	var limit = document.getElementById("phantrang").value;
	var mabst = document.getElementById("mabst").value;
	var url ="index.php?com=ctbosuutap&fun=list&mabst="+mabst+"&limit="+limit;
	document.location.href = url;
}
/*--------------------End-Phat-------------------*/

function showResult()
{
	if (xmlhttp.readyState==4 && xmlhttp.status == 200)
	{
		document.getElementById("entry").innerHTML=xmlhttp.responseText;
	}
}

